import render from './Render'

const customForm = {
  render
}

const install = function(Vue, opts = {}) {
  Vue.component(render.name, render)
}

if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue)
}

export default Object.assign(customForm, { install })
